package com.atguigu.gmall.ums.api;

import com.atguigu.gmall.common.bean.ResponseVo;
import com.atguigu.gmall.ums.entity.UserEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

public interface GmallUmsApi {

    @PostMapping("ums/user/queryUser")//用post请求的原因是因为，以后sso要用
    public ResponseVo<UserEntity> checkAccount(@RequestParam("loginName") String account, @RequestParam("password") String password) ;

}
